
import React from 'react'
import UseRefDemo from './UseRef.tsx'
import UseMemoDemo from './UseMemo.tsx'
// import useMouse from './Hooks/useMouse.ts'
import useGetInfo from './hooks/useGetinfo.ts'




export default function App() {
  // const { x, y } = useMouse();
  const {loading,info }=useGetInfo()
  return (
    <>
      <p>App page</p>
      <p>{ loading?'加载中......':info}</p>
    
      {/* x:{x}
      <br />
      y:{ y} */}
    {/* <UseMemoDemo></UseMemoDemo> */}
    </>
  )
}
